package com.mapper;

import com.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface userMapper {
    //登录判断账户
    User select(@Param("username") String username, @Param("password") String password);

    //根据用户名查询用户信息
    User selectByUsername(@Param("username") String username);

    //添加用户信息
    void addUser(User u);
}
